package cn.anyubao.blog.common;


/**
 * service 基础服务接口
 *
 * @author huqilang
 */
public interface BaseService<T extends BaseModel> {

    Long save(T model);

    BaseModel getOne(Long id);

    Long deleteById(Long id);

    Long update(T model);
}
